class Catitemdata {
  List<CatitemInfo>? message;
  Meta? meta;

  Catitemdata({this.message, this.meta});

  Catitemdata.fromJson(Map<String, dynamic> json) {
    if (json['message'] != null) {
      message = <CatitemInfo>[];
      json['message'].forEach((v) {
        message!.add(CatitemInfo.fromJson(v));
      });
    }
    meta = json['meta'] != null ? Meta.fromJson(json['meta']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (message != null) {
      data['message'] = message!.map((v) => v.toJson()).toList();
    }
    if (meta != null) {
      data['meta'] = meta!.toJson();
    }
    return data;
  }
}

class CatitemInfo {
  String? name;
  String? imageSrc;
  String? openType;
  String? navigatorUrl;

  CatitemInfo({this.name, this.imageSrc, this.openType, this.navigatorUrl});

  CatitemInfo.fromJson(Map<String, dynamic> json) {
    name = json['name'];
    imageSrc = json['image_src'];
    openType = json['open_type'];
    navigatorUrl = json['navigator_url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['name'] = name;
    data['image_src'] = imageSrc;
    data['open_type'] = openType;
    data['navigator_url'] = navigatorUrl;
    return data;
  }
}

class Meta {
  String? msg;
  int? status;

  Meta({this.msg, this.status});

  Meta.fromJson(Map<String, dynamic> json) {
    msg = json['msg'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['msg'] = msg;
    data['status'] = status;
    return data;
  }
}
